.form-view__group--description-cols {
  padding: 20px;
  display: flex;

  > .form-view__cell {
    width: 50%;

    .form-view__label {
      font-size: 12px;
      opacity: 0.6;
    }
  }
}

.form-view__cell--description {
  border-top: 1px solid $divider-color;
  padding: 20px;
}

.form-view__group--summary-details-cols {
  display: flex;
  align-items: flex-start;

  > .form-view__cell {
    padding: 15px 20px;
    flex-grow: 1;

    &:first-child {
      flex-grow: 2;
    }

    .form-view__label {
      font-size: 12px;
      opacity: 0.6;
    }
  }
}

.form-view__cell--subs-graph {
  padding: 30px;
  padding-bottom: 0px;

  .form-view__cell--subs-graph-toggle {
    padding-bottom: 20px;

    a + a {
      margin-left: 15px;
    }

    a {
      display: inline-block;
      padding: 8px;
      color: $cool-blue;
      cursor: pointer;
      font-size: 16px;
      background: transparent;

      &.active {
        color: $cool-gray;
        background: #F8F8F8;
        position: relative;

        &:after {
          width: 0;
          height: 0;
          border-left: 10px solid transparent;
          border-right: 10px solid transparent;
          border-top: 10px solid #F8F8F8;
          content: '';
          position: absolute;
          bottom: -9px;
          left: 50%;
          margin-left: -10px;
        }
      }
    }
  }
}

.form-view__group--submission-stats {
  padding: 30px;
  display: flex;

  .form-view__cell {
    background: #F8F8FA;
    padding: 20px;
    flex: 2;
    margin-right: 10px;

    &:last-child {
      flex: 1;
      margin-right: 0px;
    }
  }

  .subs-graph-number {
    font-size: 32px;
    font-weight: 600;
    color: $cool-green;
  }
}

.form-view__cell--data-tabs {
  a {
    display: block;
    padding: 6px 10px;
    color: $cool-gray;
    border-bottom: 1px solid $divider-color;
    position: relative;

    &:last-child {
      border-bottom: none;
    }

    &:hover {
      background: #F8F8FA;
    }

    i {
      font-size: 32px;
      margin-right: 6px;
      vertical-align: middle;

      &.fa {
        font-size: 24px;
        position: absolute;
        right: 10px;
        top: 50%;
        margin-top: -12px;
        line-height: 24px;
      }
    }
  }
}

.form-view__row--team {
  position: relative;

  .form-view__cell--box {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .user-row {
    margin: 0;
    border-bottom: 0px;
    margin-right: 0px;
  }

  a.team-sharing-button {
    cursor: pointer;
    color: $cool-gray;
    position: absolute;
    right: 0px;
    top: -6px;

    i {
      font-size: 32px;
    }

    &:hover {
      color: $cool-blue;
    }
  }
}

.form-view__cell--summary-chart {
  position: relative;
  height: 0px;
  overflow: hidden;

  + .form-view__cell--chart-no-data {
    height: 100px;
    justify-content: center;
    align-items: center;
    display: flex;
    background: #F8F8FA;

    span {
      font-size: 16px;
      color: $cool-gray;
      margin: 10px;
    }
  }

  &.active {
    height: 275px;
    overflow: visible;

    canvas {
      height: 250px;
    }

    + .form-view__cell--chart-no-data {
      height: 0px;
      overflow: hidden;
    }
  }
}

@media screen and (min-width: 768px) {
  .form-view--summary {
    display: flex;

    .form-view__column--left {
      width: 65%;

      .form-view__row {
        margin-right: 0px;
      }
    }

    .form-view__column--right {
      width: 35%;

      .form-view__row {
        margin-left: 30px;
        margin-right: 40px;
      }
    }
  }
}

@media screen and (min-width: 1024px) {
  .form-view--summary {
    .form-view__column--left {
      width: 70%;
    }

    .form-view__column--right {
      width: 30%;
    }
  }
}
